# 1.请实现一个装饰器，把函数的返回值+100然后返回
def add_100(func):
    def inner(*args, **kwargs):
        return func(*args, **kwargs) + 100

    return inner


@add_100
def index():
    return 100


@add_100
def home():
    return 200


print(index())
print(home())
